Properties

Name Returns Notes Example
commonStartDate Date
commonFinishDate Date
lagStartDate Date
lagFinishDate Date
tables List
queries List
selectedOrgIds List Get the currently selected list of organisation IDs for the current user
availableOrgIds List Returns a list of the ID's (internal kademi ID) of organisations the user has ReportingAccess role to. This list is not expanded, so does not include child organisations of those.
selectedOrgs List Returns the selected organisation, or multiple if they're selected
currentTeamOrg Organisation Return the single currently selected organisation which should represent the team of the current user

Methods

Name Returns Notes Example
newRowsResult ( ) RowsResult
newRowsResult ( headers ) RowsResult
getTable ( name ) Table
runQuery ( queryName ) KSearchResponse
runQuery ( queryName, params ) KSearchResponse
selectedOrgHasType ( orgType ) boolean
preProcessQuery ( json ) String